package com.dong.auth.security.userdetails;

import com.dong.auth.security.exception.UsernameNotFoundException;
/**
 * 安全模块获取用户真是身份信息的入口
 *
 * @author zhaodc
 * @date 2021/10/20 9:35
 **/
public interface SecurityUserService {

    /**
     *
     *@param username 登录的凭证，用户账号
     *@return
     *@author zhaodc
     *@since 2021/10/20 15:15
     */
    SecurityUser loadUserByUsername(String username) throws UsernameNotFoundException;
}
